package com.ruoyi.patients.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病人对象 patients
 * 
 * @author anyunyi
 * @date 2025-05-15
 */
public class Patients extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病人ID */
    private Long patientId;

    /** 病人姓名 */
    @Excel(name = "病人姓名")
    private String patientName;

    /** 病人性别（M男 F女） */
    @Excel(name = "病人性别", readConverterExp = "M=男,F=女")
    private String patientGender;

    /** 病人年龄 */
    @Excel(name = "病人年龄")
    private Long patientAge;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPatientGender(String patientGender) 
    {
        this.patientGender = patientGender;
    }

    public String getPatientGender() 
    {
        return patientGender;
    }
    public void setPatientAge(Long patientAge) 
    {
        this.patientAge = patientAge;
    }

    public Long getPatientAge() 
    {
        return patientAge;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("patientName", getPatientName())
            .append("patientGender", getPatientGender())
            .append("patientAge", getPatientAge())
            .append("contactPhone", getContactPhone())
            .append("createTime", getCreateTime())
            .toString();
    }
}
